// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
//import Vuex from 'vuex' 
import App from './App'

import router from './router/index'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/layout.css'
Vue.use(Element);
//引用axios配置信息
import axios from 'axios';
import './axios/axios'
Vue.prototype.$ajax=axios;

Vue.config.productionTip = false

//Vue.use(Vuex)
//引入store模块
import store from './store/store'; 
 
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>', 
})
